/**
 * @program: gmallshop
 * @ClassName WechatPayStrategy
 * @description:
 * @author: zyw
 * @create: 2023-08-09 08:38
 * @Version 1.0
 **/
package com.atguigu.gmall.payment.controller;

import java.math.BigDecimal;
import java.util.Map;

public class WechatPayStrategy implements PaymentStrategy {
    @Override
    public void pay(BigDecimal amount) {
        // 实现微信支付逻辑
    }

    @Override
    public void refund(BigDecimal amount) {
        // 实现微信退款逻辑
    }

    @Override
    public String callback(Map<String, String> paramsMap) {
        // 支付宝的回调处理逻辑
        return null;
    }
}
 
